package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 机具政策对象 sys_user_machine_policy
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user_machine_policy")
public class SysUserMachinePolicy extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 机具政策名称
     */
    private String policyName;

    /**
     * 阶段考核月数
     */
    private Integer stageCheckMonth;

    /**
     * 阶段每月考核金额
     */
    private BigDecimal stageCheckAmountMonth;

    /**
     * 阶段返现返现金额
     */
    private BigDecimal stageCashBackAmount;

    //阶段返现是否绑定押金 0否1是
    private Integer  stageBackBindDeposit;

    //阶段返现是否绑定会员 0否1是
    private Integer  stageBackBindMember;

    /**
     * 达标返现考核天数
     */
    private Integer completeCheckDay;

    /**
     * 达标返现考核金额
     */
    private BigDecimal completeCheckAmount;

    /**
     * 达标返现 返现金额
     */
    private BigDecimal completeCashBackAmount;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
